initial commit
[clinton/prusa3.git] / old stuff / ybrac-t.scad
CommitLineData
d3618a65
NZ
1// PRUSA Mendel
2// Y motor bracket by Spacexula!!
3// GNU GPL v3
4// Josef Průša
5// josefprusa@me.com
6// prusadjs.cz
7// http://www.reprap.org/wiki/Prusa_Mendel
8// http://github.com/prusajr/PrusaMendel
9
10include <configuration.scad>
11
12/**
13 * @id y-motor-bracket
14 * @name Y motor bracket
15 * @id y-motor-bracket
16 * @category Printed
17 * @using 3 m3washer
18 * @using 4 m8washer
19 * @using 4 m8nut
20 * @using 2 m3x10xhex
21 * @using 1 m3x10xflat
22 */
23
24module ybract(){
25difference(){
26rotate(a=[0,0,-2])translate([7,4.5])rotate([0,0,90])mirror()linear_extrude(file="ybrac-t.dxf",height=10);
27rotate(a=[0,0,-2]){
28translate([3.4,30.05,-10])polyhole(m8_diameter, 30);
29translate([-26,-21,-10])polyhole(m8_diameter, 30);
30
31translate([33.5,-20.5,10])cylinder(h=30,r=4.4/2, center=true);
32translate([4.5,-10,10])cylinder(h=30,r=4.4/2, center=true);
33translate([15,19.2,10])cylinder(h=30,r=4.4/2, center=true);
34
35translate([33.5,-20.5,12])cylinder(h=10,r=7.5/2, center=true);
36translate([4.5,-10,12])cylinder(h=10,r=7.5/2, center=true);
37translate([15,19.2,12])cylinder(h=10,r=7.5/2, center=true);
38}
39translate([-13,-27,10])scale([0.7,0.7,1]) linear_extrude(file = "this-way-up.dxf", layer = "0",
40 height = 2, center = true, convexity = 10, twist = -fanrot);
41
42translate([15,-26,10])scale([2,2,1]) mirror() linear_extrude(file = "this-way-up.dxf", layer = "f",
43 height = 2, center = true, convexity = 10, twist = -fanrot);
44
45translate([10,-26,0])scale([2,2,1]) linear_extrude(file = "this-way-up.dxf", layer = "f",
46 height = 2, center = true, convexity = 10, twist = -fanrot);
47
48translate([-13,-27,0])scale([0.7,0.7,1]) linear_extrude(file = "this-way-up.dxf", layer = "0",
49 height = 2, center = true, convexity = 10, twist = -fanrot);
50}
51}
52mirror()ybract();